<template>
  <div class="tables">
    <el-table
      :data="tableData"
      style="width: 100%"
      border
      :header-cell-style="headerCellStyle"
    >
    <el-table-column type="selection"/>
      <el-table-column label="医院名称" align="center" prop="id" />
      <el-table-column label="账号" align="center" prop="depId" />
      <el-table-column label="结合防治端" align="center" prop="checkpersonId" />
      <el-table-column label="负责人姓名" align="center" prop="createdTime" />
      <el-table-column label="负责人电话" align="center" prop="updatedTime" />
      <el-table-column label="注册时间" align="center" prop="id" />
      <el-table-column label="登录时间" align="center" prop="depId" />
      <el-table-column label="备注" align="center" prop="createdTime" />
      <el-table-column label="状态" align="center" prop="updatedTime" />
      <el-table-column label="操作" align="center" prop="checkpersonId">
        
        </el-table-column>
    </el-table>
  </div>
</template>

<script setup name="hospitalaccount">
const tableData = [
  {
    date: '2016-05-03',
    name: 'Tom',
    address: 'No. 189, Grove St, Los Angeles',
  },
  {
    date: '2016-05-02',
    name: '123456',
    address: 'No. 189, Grove St, Los Angeles',
  },
  {
    date: '2016-05-04',
    name: 'Tom',
    address: 'No. 189, Grove St, Los Angeles',
  },
  {
    date: '2016-05-01',
    name: 'Tom',
    address: 'No. 189, Grove St, Los Angeles',
  },
]

const headerCellStyle = () => {
  console.log(11)
}
</script>
<style scoped lang="scss">
.tables {
  padding: 20px;
}
</style>
